package com.dwxt.sport.business.dao;

import com.dwxt.sport.business.entity.WisdomTrailsEquipment;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.HashMap;
import java.util.List;

@org.apache.ibatis.annotations.Mapper
public interface WisdomTrailsEquipmentMapper extends Mapper<WisdomTrailsEquipment> {

    int deleteWisdomTrailsEquipmentByIds(@Param("ids")String[] idArray);

    List<WisdomTrailsEquipment> selectWisdomTrailsEquipmentByPage(String wisdomTrailsId);

    HashMap selectStatisticsByWisdomTrailsId(String wisdomTrailsId);

    Integer selectCountAll();

    Integer selectCountByDeviceStatesOne();
}